package org.example.service;


import org.example.pojo.PageResult;
import org.example.pojo.Student;
import org.example.pojo.StudentQueryParam;
import org.springframework.stereotype.Service;

@Service
public interface StudentService {
    PageResult<Student> page(StudentQueryParam studentQueryParam);

    void save(Student student);

    void update(Student student);

    Student getInfo(Integer id);

    void delete(Integer id);

    int updateViolationInfo(int id, int score);
}
